package com.stone.design.practice.comparable;

import android.support.annotation.NonNull;

/**
 * @author Stone
 * @version V1.0
 * @description:
 * @date 5/8/18 22:50
 * @email redsstone@163.com
 */
public class Student implements Comparable<Student>{

    String name;
    String sex;

    public Student(String name, String sex) {
        this.name = name;
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }

    @Override
    public int compareTo(@NonNull Student o) {
        return 0;
    }
}
